<template>
	<view class="body">
		<view class="pageTitle">
			<view>当前题库</view>
			<view>解锁3章节</view>
		</view>
		<!-- 虚线 -->
		<view class="dashLine">
		</view>
		<view class="questionBank">
			<view class="questionBank-item" v-for="(item,index) in 3" :key="index">
				<image
					src="https://ossweb-img.qq.com/images/lol/web201310/skin/big10001.jpg"
					mode="scaleToFill"
					class="chaperImage"
				/>
				<view class="chaperName">
					章节1——职业规划知识1
				</view>
				<view class="chaperNumber">
					15道
				</view>
			</view>
		</view>
		<view class="pageTitle">
			<view>未解锁题库</view>
		</view>
		<!-- 虚线 -->
		<view class="dashLine">
		</view>
		<view class="questionBankLock">

			<view class="questionBank-item" v-for="(item,index) in 3" :key="index">
				<image
					src="https://ossweb-img.qq.com/images/lol/web201310/skin/big10001.jpg"
					mode="scaleToFill"
					class="chaperImage"
				/>
				<view class="chaperName">
					章节1——职业规划知识1
				</view>
				<view class="chaperNumber">
					15道
				</view>
				<!-- 锁logo -->
				<view class="lockLogo">
					<image
						src="../../static/img/lock.png"
						mode="scaleToFill"
						class="lockImage"
					/>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss" scoped>
.questionBankLock{
	padding: 28rpx;
	.questionBank-item{
		position: relative;
		display: flex;
		align-items: center;
		padding: 24rpx;
		background-color: #FBA84D;
		margin-bottom: 28rpx;
		border-radius: 10rpx;
		justify-content: space-around;
		.chaperImage{
			width: 100rpx;
			height: 140rpx;
			
		}
		.chaperName{
			font-size: 18px;
		}
		.chaperNumber{
			color: #606266;
			font-size: 12px;
			
		}
		.lockLogo{
			position: absolute;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			display: flex;
			align-items: center;
			justify-content: center;
			.lockImage{
				width: 100rpx;
				height: 100rpx;
			}
		}
	}
	.questionBank-item::after{
		content: '';
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0,0,0,0.5);
		border-radius: 10rpx;
	}
}

	.questionBank{
		padding: 28rpx;
		.questionBank-item{
			display: flex;
			align-items: center;
			padding: 24rpx;
			background-color: #FBA84D;
			margin-bottom: 28rpx;
			border-radius: 10rpx;
			justify-content: space-around;
			.chaperImage{
				width: 100rpx;
				height: 140rpx;
				opacity: 1;
				
			}
			.chaperName{
				font-size: 18px;
			}
			.chaperNumber{
				color: #606266;
				font-size: 12px;
				
			}
		}
	}
	.dashLine{
		border: 1rpx dashed #ccc;
		margin-left: 30rpx;
		margin-right: 30rpx;
}
	.pageTitle{
		padding-top: 30rpx;
		padding-bottom: 30rpx;

		text-align: center;
		font-size: 36rpx;
		font-weight: bold;
}
	.body{
		background-color: #fff;
		height: 100vh;
	}
</style>
